package com.imooc.mapper;

import com.imooc.vo.QueryItemsVo;
import com.imooc.vo.ShopCartVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Author wangke
 * @Description TODO
 * @Date 2021/7/29 13:01
 * @Version 1.0
 */
public interface ItemsCustomMapper {
    List<QueryItemsVo> queryByConditionItems(@Param(value = "params") Map<String,Object> params);

    List<QueryItemsVo> queryItemsByCategory(@Param(value = "params") Map<String,Object> params);

    List<ShopCartVo> queryItemsBySpec(@Param(value="specIds")List<String> specIds);
}
